(Get-Content $args[0]) |
Foreach-Object { $_ -replace "(\s*)=> Passed", "" } |
Set-Content $args[1]